from selenium import webdriver

options = webdriver.ChromeOptions()
#首选项
prefs={'profile.managed_default_content_settings.images':2}

options.add_experimental_option("prefs",prefs)

browser=webdriver.Chrome(chrome_options=options)

browser.get("https://study.163.com/course/introduction/1006546009.htm?share=1&shareId=1024092566&utm_content=courseIntro&utm_u=1024092566")

# browser.quit()